package com.sjf.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sjf.reggie.entity.AddressBook;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface AddressBookService extends IService<AddressBook>  {
    List<AddressBook> getList ( HttpSession session );

    boolean add ( AddressBook addressBook );

    boolean setDefaultAddress ( AddressBook addressBook );

    boolean updateAddress ( AddressBook addressBook );

    AddressBook getAddress ();
}
